﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Article
/// </summary>

public class Article
{
    public int ArticleID {get; set;}
    public string Section = "";
    public string Title = "";
    public string Description = "";
    public string Content = "";
    public DateTime InsertDate;
    public int NumberOfClicks {get; set;}
    public string Image = "";
	
    public Article()
	{
	}

    public Article(int id, string title, string description, string image)
    {
        ArticleID = id;
        Title = title;
        Description = description;
        Image = image;

    }
   
    public Article(int id, string section, string title, string description, string content, 
                   DateTime date, int clicks, string image)
    {
        ArticleID = id;
        Section = section;
        Title = title;
        Description = description;
        Content = content;
        InsertDate = date;
        NumberOfClicks = clicks;
        Image = image;
        
    }
}